package com.finalab.website.util;

import com.finalab.website.constant.FiletType;

public class FileNameUtil {

    public static String PROJECT_PICTURE = "project_picture";


    public static String pictureName(int pictureType, int index, int entityId){
        StringBuilder stringBuilder = new StringBuilder();
        switch (pictureType){
            case FiletType.PROJECT_PICTURE:
                stringBuilder.append(PROJECT_PICTURE);
                break;
            default:
                break;
        }
        stringBuilder.append("_").append(entityId).append("_").append(index);
        return stringBuilder.toString();
    }
}
